package com.zb.frame.modules.common.service;

import com.zb.frame.modules.common.entity.UserToken;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bangZZ
 * @since 2020-06-05
 */
public interface UserTokenService extends IService<UserToken> {

    String newUserToken(Long userId);

    UserToken getUserTokenByToken(String token);

    void deleteById(Long id);
}
